//
//  JBViewController.m
//  JBCalendar
//
//  Created by YongbinZhang on 7/9/13.
//  Copyright (c) 2013 JustBen. All rights reserved.
//

#import "JBViewController.h"
#import "JBCalendarLogic.h"
#import "JBUnitView.h"


@interface JBViewController ()

@end

@implementation JBViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    [self.view setUserInteractionEnabled:YES];
    
    JBUnitView *unitView = [[JBUnitView alloc] initWithFrame:CGRectMake(50.0f, 50.0f, 320.0f, 300.0f) UnitType:UnitTypeMonth SelectedDate:[NSDate date]];
    [self.view addSubview:unitView];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)test:(id)sender
{
}

@end
